package com.example.onlinemusicserver2024.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.onlinemusicserver2024.common.R;
import com.example.onlinemusicserver2024.model.domain.Admin;
import com.example.onlinemusicserver2024.model.request.AdminRequest;

import javax.servlet.http.HttpSession;

/**
 * 管理员登录的接口类
 */
public interface AdminService extends IService<Admin> {

    /**
     * 用于管理员登录的方法
     * @param adminRequest
     * @param session
     * @return
     */
     R verityPasswd(AdminRequest adminRequest, HttpSession session);

}
